﻿using System;
using System.Collections.Generic;

namespace LanhuFx.Context.PgSql.ResourcesModels
{
    public partial class IdentityUserinfo
    {
        public IdentityUserinfo()
        {
            IdentityAccount = new HashSet<IdentityAccount>();
            IdentityUserpermissions = new HashSet<IdentityUserpermissions>();
            IdentityUserrole = new HashSet<IdentityUserRole>();
            IdentityUsertenant = new HashSet<IdentityUsertenant>();
        }

        public Guid Id { get; set; }
        public string Username { get; set; }
        public string Userstate { get; set; }
        public string Sysidentity { get; set; }
        public DateTime? Createdat { get; set; }
        public Guid? Teamid { get; set; }

        public virtual IdentityTenant Team { get; set; }
        public virtual ICollection<IdentityAccount> IdentityAccount { get; set; }
        public virtual ICollection<IdentityUserpermissions> IdentityUserpermissions { get; set; }
        public virtual ICollection<IdentityUserRole> IdentityUserrole { get; set; }
        public virtual ICollection<IdentityUsertenant> IdentityUsertenant { get; set; }
    }
}
